package org.xqp.hrm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import org.xqp.hrm.exception.GlobalExceptionHandler;

@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "org.xqp.hrm.feign.client")
@Import({GlobalExceptionHandler.class}) // 导入指定的全局异常处理类
public class SystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(SystemApplication.class);
    }
}
